package com.kh.first.pojo.common;

import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

@Data
@ToString
public class WxDepartment implements Serializable {
    private static final long serialVersionUID = 575159957760421226L;
    public Long id;
    public Long parentid;
    public Long order;
    public String name;

    private int level;

    private List<WxUser> value;//一个部门下面有很多人

    private WxDepartment parent;

    private List<WxDepartment> children;

    private int index;
}
